package com.loan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *      0不显示，1显示
 *     @ApiModelProperty("删除状态")
 *     @TableLogic(value = "1",delval = "0")
 *     private Integer showstatus;
 * </p>
 *
 * @author 
 * @since 2021-09-11
 */
@ApiModel("用户")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class User implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键id
     */
    @ApiModelProperty("用户id")
    @TableId(value = "uid", type = IdType.AUTO)
    private Integer uid;

    /**
     * 用户名
     */
    @ApiModelProperty("用户名")
    @TableField("userName")
    private String userName;

    /**
     * 密码
     */
    @ApiModelProperty("用户密码")
    private String password;

    /**
     * 邮箱
     */
    @ApiModelProperty("用户邮箱")
    private String email;

    /**
     * 性别
     */
    private String sex;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 身份证号
     */
    @TableField("IdCard")
    private String IdCard;

    /**
     * 手机号
     */
    private String phone;


}
